﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/PopupDiv.master" AutoEventWireup="true" CodeBehind="UserEdit.aspx.cs" Inherits="FortuneHeaven.Admin.Pages.NetBar.UserEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <style type="text/css">
        .style1
        {
            width: 75px; height:30px; text-align:right;
        }       
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <asp:Panel ID="pnlMain" runat="server" CssClass="pnlMain">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
             <tr>
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label4" runat="server" Text="登 录 名："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="LoginName" runat="server" Width="180px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="LoginName"
                        Display="None" ErrorMessage="请输入登录名" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span style="color:Red;">*</span>&nbsp;<asp:Label ID="Label1" runat="server" Text="用户姓名："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="Name" runat="server" Width="180px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Name"
                        Display="None" ErrorMessage="请输入用户姓名" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
           
            <tr>
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label6" runat="server" Text="密　　码："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtPassword" runat="server" Width="180px" TextMode="Password" 
                        CssClass="txt"></asp:TextBox>
                    <asp:HiddenField ID="hidPassword" runat="server" />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                        ControlToValidate="txtPassword" Display="None" ErrorMessage="密码不得低于六位" 
                        SetFocusOnError="True" ValidationExpression=".{6,}"></asp:RegularExpressionValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ControlToValidate="txtPassword" Display="None" ErrorMessage="密码不得低于六位" 
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr >
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label3" runat="server" Text="网吧："></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="drpNetBar" runat="server" Width="180px">
                    </asp:DropDownList>
                    <asp:Literal ID="litNetBar" runat="server"></asp:Literal>
                </td>
            </tr>
           <%-- <tr>
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label5" runat="server" Text="排　　序："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="Orders" runat="server" Width="130px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Orders"
                        Display="None" ErrorMessage="请输入数字" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Orders"
                        Display="None" ErrorMessage="数字格式不正确" ValidationExpression="-?\d*" SetFocusOnError="True"></asp:RegularExpressionValidator>
                </td>
            </tr>--%>
        </table>
    </asp:Panel>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowSummary="False"
        ShowMessageBox="True"></asp:ValidationSummary>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" />
</asp:Content>
